'use strict';
/**
 * @author chenmin
 * @class  右侧面板组件===>话术编辑面板
 */

var React = require('react');
var PanelRouterAction = require('../../../actions/panelRouter');
var EditPanelTable = require('../../modules/panelPop/editPanelTable.jsx');


// var PanelReport = require('../../modules/panelReport.jsx');

var editPanel = React.createClass({
      getInitialState:function(){
            return {};
      },
      handlerOpenEdit:function(){
            var params = {
                  userId:'12333'
            };
            PanelRouterAction.PANEL_ROUTER_WORDS(params);
      },
      render: function() {
            return (
            	/* jshint ignore:start */
                              <div>
                                    <div className="do-panel-body-head">
                                          <a href="javascript:;" className="do-icon-return" onClick={this.handlerOpenEdit} ><i ></i>返回</a>
                                    </div>
                                    <EditPanelTable />
                              </div>

                  /* jshint ignore:end */
            );
   }
});

module.exports = editPanel;